//
//  WSBShopRelatedModel.m
//  NuoMi
//
//  Created by ios on 16/1/15.
//  Copyright © 2016年 iOSwusanbao. All rights reserved.
//

#import "WSBShopRelatedModel.h"

@implementation WSBShopRelatedModel
+(NSDictionary *)JSONKeyPathsByPropertyKey{
    return @{
             @"seebuy":@"seebuy",
             @"hot_recommend":@"hot_recommend"
             };
}

+(NSValueTransformer *)seebuyJSONTransformer {
    return [MTLJSONAdapter dictionaryTransformerWithModelClass:[WSBShopSeebuyModel class]];
}

@end

@implementation WSBShopSeebuyModel

+(NSDictionary *)JSONKeyPathsByPropertyKey{
    return @{
             @"list":@"list",
             @"total":@"total",
             @"number":@"number",
             @"tuan_s":@"tuan_s"
             };
}

+(NSValueTransformer *)listJSONTransformer {
    return [MTLJSONAdapter arrayTransformerWithModelClass:[WSBShopSeeBuyListModel class]];
}

@end


@implementation WSBShopSeeBuyListModel

+(NSDictionary *)JSONKeyPathsByPropertyKey{
    return @{
             @"deal_id":@"deal_id",
             @"current_price":@"current_price",
             @"favour_list":@"favour_list",
             @"market_price":@"market_price",
             @"min_title":@"min_title",
             
             @"mid_image":@"mid_image",
             @"poi":@"poi",
             @"tuan_s":@"tuan_s"
             };
}

@end

